$OpenBSD: patch-src_3rdparty_chromium_third_party_zlib_zlib_gyp,v 1.1.1.1 2016/12/25 14:13:19 zhuk Exp $
--- src/3rdparty/chromium/third_party/zlib/zlib.gyp.orig.port	Sat Aug  6 00:12:55 2016
+++ src/3rdparty/chromium/third_party/zlib/zlib.gyp	Sun Aug  7 08:54:03 2016
@@ -14,9 +14,9 @@
       'type': 'static_library',
       'conditions': [
         ['OS!="ios" and (target_arch=="ia32" or target_arch=="x64")', {
-          'cflags' : ['-msse4.2', '-mpclmul'],
+          'cflags' : ['-march=westmere', '-msse4.1', '-msse4.2', '-mpclmul'],
           'xcode_settings' : {
-             'OTHER_CFLAGS' : ['-msse4.2', '-mpclmul'],
+             'OTHER_CFLAGS' : ['-march=westmere', '-msse4.1', '-msse4.2', '-mpclmul'],
           },
           'sources' : [
             'crc_folding.c',
@@ -26,7 +26,7 @@
             ['OS=="win" and clang==1', {
               'msvs_settings': {
                 'VCCLCompilerTool': {
-                  'AdditionalOptions': [ '-msse4.2', '-mpclmul' ],
+                  'AdditionalOptions': [ '-march=westmere', '-msse4.1', '-msse4.2', '-mpclmul' ],
                 },
               },
             }],
